package com.nefu.editor.core.model;

import java.util.Date;

/**
 * @author chenchenT
 * @date : 18-11-14
 * @since : java 8
 */
public class Notice {

    /**
     * 通知Id
     */
    private Integer systemId;

    /**
     *发送者Id
     */
    private Integer senderId;

    /**
     *接收者Id
     */
    private Integer receiverId;

    /**
     * 消息类型 0 系统通知 || 1 点赞通知 || 评论通知 || 打赏通知
     */
    private Integer type;

    /**
     * 通知是否已读 0 未读 || 1 已读
     */
    private Integer flag;

    /**
     * 通知时间
     */
    private Date time;

    /**
     * 通知内容
     */
    private String text;

    public Integer getSystemId() {
        return systemId;
    }

    public void setSystemId(Integer systemId) {
        this.systemId = systemId;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public Integer getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
